import 'package:equatable/equatable.dart';
import 'package:website.core/core/domain/entities/web/web_purchase_item.dart';

class WebTransactionHistoryItemModel extends Equatable {
  const WebTransactionHistoryItemModel({
    required this.purchaseItem,
    required this.pretifiedPrice,
    required this.currency,
    required this.transactionTime,
  });

  final WebPurchaseItem purchaseItem;
  final String pretifiedPrice;
  final String currency;
  final DateTime transactionTime;

  @override
  List<Object?> get props {
    return [
      purchaseItem,
      pretifiedPrice,
      currency,
      transactionTime,
    ];
  }
}
